package com.whalehearing.tingyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 门店入驻申请对象 sms_store_apply_record
 *
 * @author danielshen
 * @date 2024-11-13
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
public class StoreApplyRecord
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer uid;

    private String storeName;

    private String businessLicenseImage;

    private String doorHeaderImage;

    private String innerImage;

    private String soundproofRoomImage;

    private String testingEquipmentImage;

    private String consultingRoomImage;

    private String other1;

    private String other2;

    private String other3;


    private String businessPlace;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date buildDate;

    private String unifiedSocialCreditCode;

    /** 执照有效期类型  0长期有效 1 固定有效 2 不知道 */
    private Integer licenseValidityPeriodType;

    /** 执照有效起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date licenseValidityPeriodStart;

    /** 执照有效截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date licenseValidityPeriodEnd;

    /** 联系人姓名 */
    private String contactName;

    /** 联系人电话 */
    private String contactPhone;

    /** 营业时间 */
    private String openingHour;

    /** 审核状态  0审核中 1审核通过 2 审核不通过 */
    private Integer status;

    private Integer storeId;

    /** 是否删除 0未删除  1已删除 */
    @TableLogic
    @JsonIgnore
    private Integer isDeleted;

}
